/*
 * Objekt, um RSS-Feeds abzubilden
 * Klasse ist ein reines POJO - besteht also nur aus Konstruktoren, Settern und Gettern der Attribute
 */

package com.objects;

import java.io.Serializable;

/**
 *
 * @author admin
 */
public class feed implements Serializable{

    //eindeutige ID des Feeds (aus DB)
    private int Feedid;
    //URL des Feeds
    private String Feedurl;
    //Name bzw. Bezeichnung des Feeds
    private String Feedname;
    //ID des Kategorie des Feeds
    private int Catid;

    public feed(int feedid,String feedurl, String feedname,int catid)
    {
        this.setFeedid(feedid);
        this.setFeedname(feedname);
        this.setFeedurl(feedurl);
        this.setCatid(catid);
    }

    public feed(String feedurl, String feedname)
    {
        this.setFeedname(feedname);
        this.setFeedurl(feedurl);
    }

    public feed() {
        
    }

    /**
     * @return the Feedid
     */
    public int getFeedid() {
        return Feedid;
    }

    /**
     * @param Feedid the Feedid to set
     */
    public void setFeedid(int Feedid) {
        this.Feedid = Feedid;
    }

    /**
     * @return the Feedurl
     */
    public String getFeedurl() {
        return Feedurl;
    }

    /**
     * @param Feedurl the Feedurl to set
     */
    public void setFeedurl(String Feedurl) {
        this.Feedurl = Feedurl;
    }

    /**
     * @return the Feedname
     */
    public String getFeedname() {
        return Feedname;
    }

    /**
     * @param Feedname the Feedname to set
     */
    public void setFeedname(String Feedname) {
        this.Feedname = Feedname;
    }

    /**
     * @return the Catid
     */
    public int getCatid() {
        return Catid;
    }

    /**
     * @param Catid the Catid to set
     */
    public void setCatid(int Catid) {
        this.Catid = Catid;
    }

 

}
